<template>
  <el-form label-width="100px">
    <el-form-item label="企业名称">
      <el-input v-model="list.name" class="widthW" disabled />
    </el-form-item>
    <el-form-item label="公司地址">
      <el-input v-model="list.companyAddress" class="widthW" disabled />
    </el-form-item>
    <el-form-item label="公司电话">
      <el-input v-model="list.companyPhone" class="widthW" disabled />
    </el-form-item>
    <el-form-item label="邮箱">
      <el-input v-model="list.mailbox" class="widthW" disabled />
    </el-form-item>
    <el-form-item label="备注">
      <el-input v-model="list.remarks" class="widthW" disabled />
    </el-form-item>
  </el-form>
</template>

<script>
import { company } from '@/api/setting'
export default {
  data() {
    return {
      list: {}
    }
  },
  async created() {
    const res = await company(this.$store.state.user.companyId)
    this.list = res.data
  }
}
</script>

<style lang="scss" scoped>
.widthW {
  width: 450px;
}
</style>
